# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class OssScanCfg(object):

    def __init__(self, id=None, scanType=None, startTime=None, endTime=None, bucketsInfo=None, freezeAction=None, imageInfo=None, videoInfo=None, textInfo=None, audioInfo=None, frameInfo=None, status=None, taskStTime=None, taskEndTime=None):
        """
        :param id: (Optional) id标识,更新时传入，新增时传0
        :param scanType: (Optional) 检测类型，increment-增量，stock-存量
        :param startTime: (Optional) 存量检测的开始时间，增量时无意义
        :param endTime: (Optional) 存量检测的截止时间，增量时无意义
        :param bucketsInfo: (Optional) 需要检测的oss bucket信息
        :param freezeAction: (Optional) 冻结方式，policy-修改权限，remove-移动到备份文件夹
        :param imageInfo: (Optional) 图片配置
        :param videoInfo: (Optional) 视频配置
        :param textInfo: (Optional) 文本配置
        :param audioInfo: (Optional) 音频配置
        :param frameInfo: (Optional) 视频截帧配置, 暂不支持配置
        :param status: (Optional) 状态，0-检测中，1-暂停，2-完成，3-任务失败
        :param taskStTime: (Optional) 任务开始时间
        :param taskEndTime: (Optional) 任务结束/中止时间
        """

        self.id = id
        self.scanType = scanType
        self.startTime = startTime
        self.endTime = endTime
        self.bucketsInfo = bucketsInfo
        self.freezeAction = freezeAction
        self.imageInfo = imageInfo
        self.videoInfo = videoInfo
        self.textInfo = textInfo
        self.audioInfo = audioInfo
        self.frameInfo = frameInfo
        self.status = status
        self.taskStTime = taskStTime
        self.taskEndTime = taskEndTime
